package com.gemme.gemme.login;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;

/**
 * @Author: yangcheng
 * @CreateDate: 2020/9/3 20:23
 */
public class TokenInterceptor implements Interceptor {
    @Override
    public Response intercept(Chain chain) throws IOException {
        Request.Builder request = chain.request().newBuilder();
        Response proceed = chain.proceed(request.build());
//        int StatusCode = proceed.getStatusLine().getStatusCode();
        String content = proceed.body().string();
        return null;
    }
}
